class CreatePropertyPatternProperties < ActiveRecord::Migration
  def change
    create_table :property_pattern_properties, :force => true do |t|
      t.references :property_pattern, :null => false
      t.string :presentation, :null => true, :limit => 35
      t.integer :position, :null => false, :limit => 4
    end

    add_index :property_pattern_properties, :property_pattern_id
  end
end
